package com.yd.cfckc.util;

import redis.clients.jedis.Jedis;

/**
 * @author cuiyufeng
 * @email cuiyufeng1458@yundasys.com
 * @date 2020/10/16 5:11 下午
 */
public class test {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1", 6379);
//        jedis.auth("cyf666");

        jedis.set("a","1");
        System.out.println(jedis.get("a"));
    }
}
